dojo.require("slipstream.data.JsonRestStoreTrans");
dojo.provide("slipstream.data.JsonQueryRestStoreTrans");
dojo.require("dojox.data.util.JsonQuery");

dojo.requireIf(!!dojox.data.ClientFilter,"dojox.json.query"); // this is so we can perform queries locally 
dojo.declare("slipstream.data.JsonQueryRestStoreTrans", [slipstream.data.JsonRestStoreTrans,dojox.data.util.JsonQuery], {
	matchesQuery: function(item,request){
		return item.__id && (item.__id.indexOf("#") == -1) && this.inherited(arguments);
	}
});